<!DOCTYPE html>
<html>
<head>
    <title>二维码管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../stylesheets/bootstrap.min.css">
    <!-- 可选的Bootstrap主题文件（一般不用引入） -->
    <link rel="stylesheet" href="../stylesheets/bootstrap-theme.min.css">
    <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
    <script src="../javascripts/lib/jquery-1.11.1.min.js"></script>
    <script src="../javascripts/lib/bootstrap.min.js"></script>
    <script type="text/javascript" src="../javascripts/jquery.qrcode.min.js"></script>
    <script type="text/javascript" src="../javascripts/createQRcode.js"></script>
</head>
<body style="padding-top: 20px;">
<div id="lert">
    <% if (err==1) { %>
    <div class="alert alert-error">
        <span style="color: red"><h4>群组名已存在。</h4></span>
    </div>
    <%} %>
</div>
<legend>新建二维码</legend>
<form onsubmit="return check()" style="margin-left: 15%" action="/createQRcode" method="post" name="form1" class="form-horizontal">

    <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label">二维码组名：</label>
        <div class="col-sm-8">
            <input type="input" style="width: 50%" class="form-control" id="codename" name="codename">
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label"></label>
        <div class="col-sm-8">
            <input type="submit" style="width:55px;height:30px;" value="提交" id="sub_btn">
        </div>
    </div>
</form>
</body>
</html>